package com.woniuxy.dr_mall.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties("handler")
public class DrOrderItemView {
    //订单id
    private int orderId;
    //dr_spec_price 该表的id
    private int specpriceId;
    //商品的id
    private int productId;
    //商品的详细价格
    private BigDecimal price;
    //商品的图片，默认查商品以及isdefault=y的商品的图片
    private DrPicture drPicture;
    //商品的规格值
    private DrSpecPrice drSpecPrice;
    //商品的信息名字
    private  String productName;

}
